package com.jml.代理模式.五期.注解失效.service.impl;

import com.jml.代理模式.五期.注解失效.service.ext.ExtAsync;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


import lombok.extern.slf4j.Slf4j;

/**
 * @ClassName OrderServiceImpl
 * @Author 蚂蚁课堂余胜军 QQ644064779 www.mayikt.com
 * @Version V1.0
 **/
@RestController
@Slf4j
public class OrderServiceImpl {
    @RequestMapping("/addOrder")
    public String addOrder() {
        log.info(">>>流程1");
        addOrderLog();
        log.info(">>>流程2");
        return "addOrder";
    }

    @ExtAsync
    public void addOrderLog() {

    }
}
